package com.tarena.dao;

import java.util.List;

import com.tarena.annotation.MybatisDao;
import com.tarena.entity.Booking;
import com.tarena.entity.Emp;

/**
 * liubiao
 */
@MybatisDao
public interface BookingDao {
	void save(Booking booking);
	void delete(Integer id);
	void update(Booking booking);
	List<Booking> findById(Integer id);
	List<Booking> findByUserId(Integer id);
	List<Booking> findAllBooking();
	Integer  getSum();
	
}
